import Vue from 'vue'
import App from './App.vue'
import router from '#/router'

import ElementUI from 'element-ui'
import store from '#/store'
import '@/assets/style/index.scss'

import 'animate.css'
import '@/assets/style/basic.scss'
import '@/assets/style/globle.scss'
import '@/assets/style/theme.scss'

// iconfont
import '@/assets/iconfont/iconfont.css'
import '@/assets/iconfont/iconfont.js'
// import wlGantt from 'wl-gantt';

import Pagination from '#/components/Pagination'
import myForm from "#/components/myForm/index.vue";
import myTable from "#/components/myTable/index.vue";
import titleWrap from "#/components/titleWrap/index.vue";
// 高德地图安全配置（全局仅需配置一次，建议放在入口文件，这里暂保留）
if (!window._AMapSecurityConfig) {
  window._AMapSecurityConfig = {
    securityJsCode: window.config.securityJsCode // 替换为你的安全密钥
  };
}


Vue.config.productionTip = false
Vue.use(ElementUI)
// 全局组件挂载 分页
Vue.component('Pagination', Pagination)
Vue.component('myTable', myTable)
Vue.component('myForm', myForm)
Vue.component('titleWrap', titleWrap)

import installPlugin from '@/plugins'

Vue.use(installPlugin);

import minxins from "@/minxins/"
import '@/icons'

Vue.mixin(minxins);

Vue.prototype.$EventBus = new Vue()


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
